package com.quwan.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author quan
 * @date 2022-03-21 14:40
 */
@Accessors(chain = true)
@Data
public class CircleDTO implements Serializable {
    private static final long serialVersionUID = 231337753035749387L;
    @ApiModelProperty("圈子内容id")
    private String id;
    @ApiModelProperty("用户id")
    private String mId;
    @ApiModelProperty("用户头像")
    private String memberUrl;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("回复时间")
    private String replyTime;
    @ApiModelProperty("圈子内容")
    private String content;
    @ApiModelProperty("图片地址")
    private String imgUrl;
    @ApiModelProperty("当前用户是否关注")
    private boolean follow;
    @ApiModelProperty("关注数量")
    private Integer followerCount;

    @ApiModelProperty("图片地址")
    private List<String> imgUrls;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime addTime;
}
